<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>爱宠知识案例</title>
    <style>
        body {

            line-height: 1;
        }
        * {
            margin: 0;
            padding: 0;
        }

        .box {
            width: 261px;
            height: 341px;
            background-image: url(./images/bg.gif);
            padding: 10px;
            box-sizing: border-box;
        }

        li {
            list-style: none;
        }

        .box h3 {
            color: #fff;
            border-left: 5px solid #c9e143;
            padding-left: 10px;
            margin-bottom: 5px;
            
        }

        .box ul {
            background-color: #fff;
            padding: 0 8px;
        }

        .box ul li {
            background-image: url(./images/tb.gif);
            background-repeat: no-repeat;
            background-position: center left;
            height: 30px;
            line-height: 30px;
            padding-left: 18px;
            border-bottom: 1px  dashed #000;
        }

        .box li a {
            font-size: 12px;
            color: #551a8b;
            text-decoration: none;
        }


    </style>
</head>
<body>
    <div class="box">
        <h3>爱宠知识</h3>
        <ul>
            <li><a href="#">养狗比养猫更健康</a></li>
            <li><a href="#">养狗比养猫更健康</a></li>
            <li><a href="#">养狗比养猫更健康</a></li>
            <li><a href="#">养狗比养猫更健康</a></li>
            <li><a href="#">养狗比养猫更健康</a></li>
            <li><a href="#">养狗比养猫更健康</a></li>
            <li><a href="#">养狗比养猫更健康</a></li>
            <li><a href="#">养狗比养猫更健康</a></li>
            <li><a href="#">养狗比养猫更健康</a></li>
        </ul>
    </div>
    
</body>
</html>